<template>
  <el-form
    ref="scanLoginForm"
    size="large"
    autocomplete="off"
    class="scan-login-form"
  >
    <el-form-item>
      <p class="text-center">微信扫码登录</p>
      <img :src="qrCodeSrc" alt="" width="70%" />
    </el-form-item>
    <el-form-item>
      <p style="font-size: larger">职为你来小程序</p>
      <img :src="gzhSrc" alt="" width="88%" />
      <span style="font-size: medium">客服电话 400-110-119 </span>
      <span style="font-size: small">
        人力资源服务许可 | 证营业执照朝阳区 | 人社局监督电话
      </span>
    </el-form-item>
  </el-form>
</template>

<script setup>
// import { ref } from 'vue'

const qrCodeSrc = new URL('../../../assets/offer.jpg', import.meta.url).href
const gzhSrc = new URL('../../../assets/gzh.jpg', import.meta.url).href
</script>

<style scoped>
.text-center {
  text-align: center;
}
.scan-login-form {
  width: 100%;
  max-width: 180px; /* 限制最大宽度 */
  padding: 30px;
  background-image: linear-gradient(130deg, #f9fcfd 0%, #d6f1fa 53%);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
</style>
